﻿<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <!-- THIS PROPERTY GROUP MUST COME FIRST -->
    <AssemblyName>Microsoft.SemanticKernel.Planners.Handlebars</AssemblyName>
    <RootNamespace>Microsoft.SemanticKernel.Planning</RootNamespace>
    <TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
    <VersionSuffix>preview</VersionSuffix>
  </PropertyGroup>

  <Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
  <Import Project="$(RepoRoot)/dotnet/src/InternalUtilities/src/InternalUtilities.props" />
  <Import Project="$(RepoRoot)/dotnet/src/InternalUtilities/planning/PlanningUtilities.props" />

  <PropertyGroup>
    <!-- NuGet Package Settings -->
    <Title>Semantic Kernel - Planners</Title>
    <Description>Semantic Kernel Handlebars Planners.</Description>
  </PropertyGroup>

  <ItemGroup>
    <EmbeddedResource Include="Handlebars\CreatePlanPrompt.handlebars">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </EmbeddedResource>
  <EmbeddedResource Include="Handlebars\CreatePlanPromptPartials\**\*.handlebars">  
    <CopyToOutputDirectory>Always</CopyToOutputDirectory>  
  </EmbeddedResource>  
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\SemanticKernel.Core\SemanticKernel.Core.csproj" />
    <ProjectReference Include="..\..\Extensions\PromptTemplates.Handlebars\PromptTemplates.Handlebars.csproj" />
  </ItemGroup>

  <ItemGroup>
    <InternalsVisibleTo Include="Microsoft.SemanticKernel.Planners.Handlebars.UnitTests" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Handlebars.Net" />
  </ItemGroup>
</Project>
